using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Cat.Domain.Entities;
using Forest.Core;

namespace Forest.Cat.Domain.Services.Catalog
{
    public partial interface ICatalogItemService
    {
        void DeleteCatalogItem(CatalogItem catalogitem);

        CatalogItem GetCatalogItemById(Guid catalogitemId);

        IPagedList<CatalogItem> GetAllCatalogItems(int pageIndex, int pageSize);

        void InsertCatalogItem(CatalogItem catalogitem);

        void UpdateCatalogItem(CatalogItem catalogitem);

        IQueryable<CatalogItem> GetCatalogItemList(Guid parentid,bool hasParentId = false,bool isPosted = true);
    }
}
